package com.venusj.springcloud.controller;

import com.venusj.springcloud.service.ServiceIMessageProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created By Administrator
 * User: VenusZ
 * Date: on 2020/3/30 20:45
 * Desc:
 */
@RestController
public class SendMessageController {

    @Autowired
    private ServiceIMessageProvider serviceIMessageProvider;

    @GetMapping("sendMessage")
    public String sendMessage()
    {
        return serviceIMessageProvider.send();
    }
}
